<template>
  <md-nav-bar title="创作背景" />
  <view class="contanier">
    {{ data.background }}
  </view>
</template>

<script setup lang="ts">
import { reactive } from 'vue';
import { onLoad } from '@dcloudio/uni-app';

const data = reactive({
  background: '内容为空'
})
onLoad(() => {
  // 从本地存储获取数据
  data.background = uni.getStorageSync('background') || '内容为空';
  uni.removeStorageSync('musicBackground');
});

</script>
<style lang="scss" scoped>
.contanier {
  display: flex;
  justify-content: center;
  padding: 40rpx;
  text-align: justify;
  overflow: scroll;
}
</style>
